home *** CD-ROM | disk | FTP | other *** search
/ Fun Clips 2 / Fun Clips 2.iso / gfxmanager / docs / pnmscale.man < prev    next >
Text File  |  1996-08-08  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pnmscale(1)          AMIGA (12 January 1991)          pnmscale(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmscale - scale a portable anymap
  10.  
  11.      SYNOPSIS
  12.           pnmscale s [pnmfile]
  13.           pnmscale -xsize|-width|-ysize| -height s [pnmfile]
  14.           pnmscale -xscale|-yscale s [pnmfile]
  15.           pnmscale -xscale|-xsize|-width s -yscale|-ysize|-height s
  16.           [pnmfile]
  17.           pnmscale -xysize x y [pnmfile]
  18.           pnmscale -pixels n [pnmfile]
  19.  
  20.      DESCRIPTION
  21.           Reads a portable anymap as input.  Scales it by the
  22.           specified factor or factors and produces a portable anymap
  23.           as output.  If the input file is in color, the output will
  24.           be too, otherwise it will be grayscale.  You can both
  25.           enlarge (scale factor > 1) and reduce (scale factor < 1).
  26.  
  27.           You can specify one dimension as a pixel size, and the other
  28.           dimension will be scaled correspondingly.
  29.  
  30.           You can specify one dimension as a scale, and the other
  31.           dimension will not be scaled.
  32.  
  33.           You can specify different sizes or scales for each axis.
  34.  
  35.           You can use the special -xysize flag, which fits the image
  36.           into the specified size without changing the aspect ratio.
  37.  
  38.           Or, you can use the -pixels flag, which fits the image into
  39.           the specified number of pixels without changing the aspect
  40.           ratio.
  41.  
  42.           All flags can be abbreviated to their shortest unique
  43.           prefix.
  44.  
  45.           If you enlarge by a factor of 3 or more, you should probably
  46.           add a pnmsmooth step; otherwise, you can see the original
  47.           pixels in the resulting image.
  48.  
  49.      SEE ALSO
  50.           pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
  51.  
  52.      AUTHOR
  53.           Copyright (C) 1989, 1991 by Jef Poskanzer.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.